

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户中心 {$config['site_name']}</title>
  
   <link href="__TMPL__skin/css/fafa.css" rel="stylesheet" type="text/css" />

    

</head>
<body>
    <include file="Index:header" />


    
    <div class="container">
     <div class="content">
     <div class="mq"></div>
  
  <div class="userh">
  <div class="col1">
  
  
<include file="User:menu"/>
  
  
  <script language="javascript" src="/Public/js/jquery-1.8.3.min.js"></script>
<script language="javascript" src="/Public/js/jquery.form.js"></script>
    <script type="text/javascript"  language = "javascript" src="/js/tools.js"></script>
    <script>
        $(document).ready(function(e) {
              $("#p1").click(function(){
				    
				   $("#photoimg1").click();
				    $("#photoimg1").change(function(){
						    $("#imageform").ajaxForm({  
					   
								url:"{:U('Public/upphoto')}",
								success:function(ret, status) { 
								
											 if(ret.status ==1){
												  $("#p1").attr("src",ret.photo);
												  $("#sfz1").val(ret.photo);
												 
										    }else{
												
												alert(ret.msg);}								 
											 
									 }   
						    }).submit();  
					     $('#imageform').clearForm();
						
						});
				   
		     });
			 
			    $("#p2").click(function(){
				    
				   $("#photoimg2").click();
				    $("#photoimg2").change(function(){
						    $("#imageform").ajaxForm({  
					   
								url:"{:U('Public/upphoto')}",
								success:function(ret, status) { 
											 if(ret.status ==1){
												  $("#p2").attr("src",ret.photo);
												  $("#sfz2").val(ret.photo);
										    }								 
											 
									 }   
						    }).submit();  
					     $('#imageform').clearForm();
						
						});
				   
		     });
	     $("#p3").click(function(){
				    
				   $("#photoimg3").click();
				    $("#photoimg3").change(function(){
						    $("#imageform").ajaxForm({  
					   
								url:"{:U('Public/upphoto')}",
								success:function(ret, status) { 
											 if(ret.status ==1){
												  $("#p3").attr("src",ret.photo);
												  $("#sfz3").val(ret.photo);
										    }								 
											 
									 }   
						    }).submit();  
					     $('#imageform').clearForm();
						
						});
				   
		     });
			               $("#p4").click(function(){
				    
				   $("#photoimg4").click();
				    $("#photoimg4").change(function(){
						    $("#imageform").ajaxForm({  
					   
								url:"{:U('Public/upphoto')}",
								success:function(ret, status) { 
											 if(ret.status ==1){
												  $("#p4").attr("src",ret.photo);
												  $("#yyzz").val(ret.photo);
										    }								 
											 
									 }   
						    }).submit();  
					     $('#imageform').clearForm();
						
						});
				   
		     }); 
			 
			 $("#tijiao").click(function(){
				 
				   
				 
				 });
			 
        });
		
		
		
    </script>

  
  
  </div>
<div class="col2">
  
  <div class="navtitle">会员首页 » 身份认证</div>


  


<div class="boxtip"><b>公告：</b> 任何使用{$config['site_name']}的用户均应仔细阅读《{$config['site_name']}免责声明》。用户可选择不使用，用户使用{$config['site_name']}系统的行为将被视为对本声明全部内容的认可。</div>

<div class="mq"></div>
<form  action="" method="post" >

<switch name="renzheng">
     <case value="0">
     <table width="100%" border="0" cellpadding="5" cellspacing="0" class="tableMain">
	 
	 <tbody>
	 <tr>
        <td class="tableHeadLeft f67 fb" align="right" style="width:120px">企业名称：</td>
	    <td class="tableTd"><input name="name" type="text" id="name" class="inp input" /></td>
	</tr>
	

	

	<tr>
        <td class="tableHeadLeft f67 fb" align="right">法人代表：</td>
	     <td class="tableTd"><input name="faren" type="text" id="faren" class="inp input" /></td>
	</tr>

  

    <tr>
        <td class="tableHeadLeft f67 fb" align="right">注册号：</td>
	     <td class="tableTd"><input name="daima" type="text" id="daima" class="inp input" /></td>
	</tr>

   <tr>
        <td class="tableHeadLeft f67 fb" align="right">身份证正面：</td>
	     <td class="tableTd">&nbsp;<img id="p1" src="/Public/img/upphoto.png" width="80" height="80" alt="" /> <input  type="hidden" name="sfz1" id="sfz1"/></td>
	</tr>

<tr>
        <td class="tableHeadLeft f67 fb" align="right">身份证反面：</td>
	     <td class="tableTd">&nbsp;<img id="p2" src="/Public/img/upphoto.png" width="80" height="80" alt="" /><input  type="hidden" name="sfz2" id="sfz2"/></td>
	</tr>



    <tr>
        <td class="tableHeadLeft f67 fb" align="right">手持身份证：</td>
	    <td class="tableTd">&nbsp;<img id="p3" src="/Public/img/upphoto.png" width="80" height="80" alt="" /><input  type="hidden" name="sfz3" id="sfz3"/></td>
	</tr>


<tr>
        <td class="tableHeadLeft f67 fb" align="right">营业执照扫描：</td>
	    <td class="tableTd">&nbsp;<img id="p4" src="/Public/img/upphoto.png" width="80" height="80" alt="" /><input  type="hidden" name="yyzz" id="yyzz"/></td>
	</tr>

<tr>
        <td class="tableHeadLeft f67 fb" align="right">有效期至：</td>
	    <td class="tableTd">
            <input name="expire" type="text" id="expire" class="inp input">&nbsp;</td>
	</tr>



    



    <tr>
        <td class="tableHeadLeft f67 fb" align="right">&nbsp;</td>
	    <td class="tableTd">
              <input type="submit"  name="submit" value="确定提交" id="tijiao" class="btnb btnf"><span id="ContentPlaceHolder1_Label1" style="color:Red;"></span></td>
	</tr>




	
	</tbody></table>

     </case>
     <case value="1">
      <table width="100%" border="0" cellpadding="5" cellspacing="0" class="tableMain">
	 
	 <tbody>
	 <tr>
        <td class="tableHeadLeft f67 fb" align="right" style="width:120px">企业名称：</td>
	    <td class="tableTd"><input name="name" type="text" class="inp input" id="name" value="{$info['name']}" /></td>
	</tr>
	

	

	<tr>
        <td class="tableHeadLeft f67 fb" align="right">法人代表：</td>
	     <td class="tableTd"><input name="faren" type="text" class="inp input" id="faren" value="{$info['faren']}" /></td>
	</tr>

  

    <tr>
        <td class="tableHeadLeft f67 fb" align="right">注册号：</td>
	     <td class="tableTd"><input name="daima" type="text" class="inp input" id="daima" value="{$info['daima']}" /></td>
	</tr>

   <tr>
        <td class="tableHeadLeft f67 fb" align="right">身份证正面：</td>
	     <td class="tableTd">&nbsp;<img id="p1" src="{$info['sfz1']}" width="80" height="80" alt="" /> </td>
	</tr>

<tr>
        <td class="tableHeadLeft f67 fb" align="right">身份证反面：</td>
	     <td class="tableTd">&nbsp;<img id="p2" src="{$info['sfz2']}" width="80" height="80" alt="" /></td>
	</tr>



    <tr>
        <td class="tableHeadLeft f67 fb" align="right">手持身份证：</td>
	    <td class="tableTd">&nbsp;<img id="p3" src="{$info['sfz3']}" width="80" height="80" alt="" /></td>
	</tr>


<tr>
        <td class="tableHeadLeft f67 fb" align="right">营业执照扫描：</td>
	    <td class="tableTd">&nbsp;<img id="p4" src="{$info['yyzz']}" width="80" height="80" alt="" /></td>
	</tr>

<tr>
        <td class="tableHeadLeft f67 fb" align="right">有效期至：</td>
	    <td class="tableTd">{$info['expire']}
           </td>
	</tr>






	
	</tbody></table>

     
     </case>
     <case value="2">请耐心等待审核中</case>
    <default />
</switch>

</form>




        <div style="margin-bottom:20px;"></div>
</div>
<div class="clear"></div>

  </div>



    </div>
    </div>
    
    
      
      
 <include file="Index:footer"/>

</div>
    </form>
    
    <form id="imageform" method="post" enctype="multipart/form-data" >
     <input type="file" name="photoimg1" id="photoimg1" style="display:none;" />
  <input type="file" name="photoimg2" id="photoimg2" style="display:none;" />
  <input type="file" name="photoimg3" id="photoimg3" style="display:none;" />
  <input type="file" name="photoimg4" id="photoimg4" style="display:none;" />
       
</form>
</body>
</html>
